package com.xuecheng.auth.model.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("xc_users.xc_user")
public class XcUser implements Serializable {
    private static final long serialVersionUID = 1L;

//    @TableId(type= IdType.AUTO)
    private Long id;
    private String username;
    private String password;
    private String salt;
    private String wxUnionid;
    private String nickname;
    private String name;
    private String userpic;
    private Long companyId;
    private String utype;
    private LocalDateTime birthday;
    private String sex;
    private String email;
    private String cellphone;
    private String qq;
    private String status;
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
